package com.df.blueben.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.df.blueben.constant.enums.MediaTypeEnum;
import lombok.Data;

/**
 * 
 * @TableName note_media
 */
@TableName(value ="note_media")
@Data
public class NoteMedia implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long noteId;

    /**
     * 
     */
    private String mediaUrl;

    /**
     *  0-图片 1-视频
     */
    private Integer mediaType;

    /**
     * 
     */
    private Integer sortOrder;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}